package com.qingke.java.command.impl;

import com.qingke.java.command.SystemCommand;
import com.qingke.java.util.QingkeConsole;

public class HelpCommand extends SystemCommand {

	@Override
	public void execute() {
		StringBuilder sb = new StringBuilder("this is usage for Order System:\n");
		sb.append("exit   - Exit").append("\n");
		sb.append("help   - Print usage").append("\n");
		sb.append("login   - please login").append("\n");
		sb.append("signup   - please signup").append("\n");
		sb.append("list   - List all products").append("\n");
		sb.append("select    - Select the product").append("\n");
		sb.append("add 	- Add product to shopcart").append("\n");
		sb.append("shopcart - show your shopcart").append("\n");
		sb.append("pay - Pay your order").append("\n");
		sb.append("myinfo - See your infomation").append("\n");
		sb.append("order - See your order").append("\n");

		QingkeConsole.println(sb.toString());

	}

}
